package architect.design.patterns.creation.abstractfactory;

/**
 * 苹果电子工厂
 *
 * @author guanxin
 * @date 2018/5/4 14:44
 */

public class AppleElectronicFactory implements IElectronicFactory {

    public IPhone createPhone() {
        return new ApplePhone();
    }

    public IPad createPad() {
        return new ApplePad();
    }
}
